package com.absorbx.jcr.test.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation which indicates that a test class or test method should import
 * Node(s) from XML file
 */
@Target( { ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface NodeSet {

	String path() default "/";

	String xmlFilePath() default "";

	String setupOperation() default "INSERT";

	String teardownOperation() default "CLEAN";

}
